package com.flyee.service.pool{
	
	import com.flyee.utils.PlatformDepot;
	
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.MovieClip;	
	
	public class EffectDepot{
	
		/**人物预加载显示图片*/
		[Embed(source = "resource/loadingPlayer.png")]
		public static var LoadingPlayer:Class;
		public static var loadingPlayer:Bitmap = new LoadingPlayer();
		
		/**主角光环标记*/
		[Embed(source = "resource/tag_master.png")]
		public static var MasterTag : Class;
		public static var masterTag:Bitmap = new MasterTag();
		
		/**目标光环标记*/
		[Embed(source = "resource/tag_target.png")]
		public static var TargetTag : Class;
		public static var targetTag:Bitmap = new TargetTag();
		
		/**人物装备*/
		/**紫色*/
		//[Embed(source = "resource/char_zi_attack.png")]
		//private static var ziCharAttack : Class;
		//[Embed(source = "resource/char_zi_magice.png")]
		//private static var ziCharMagice : Class;
		//[Embed(source = "resource/char_zi_stop.png")]
		//private static var ziCharStop : Class;
		//[Embed(source = "resource/char_zi_ready.png")]
		//private static var ziCharReady : Class;
		//[Embed(source = "resource/char_zi_move.png")]
		//private static var ziCharMove : Class;
		
		/**白色*/
		//[Embed(source = "resource/char_bai_attack.png")]
		//private static var baiCharAttack : Class;
		//[Embed(source = "resource/char_bai_magice.png")]
		//private static var baiCharMagice : Class;
		//[Embed(source = "resource/char_bai_stop.png")]
		//private static var baiCharStop : Class;
		//[Embed(source = "resource/char_bai_ready.png")]
		//private static var baiCharReady : Class;
		//[Embed(source = "resource/char_bai_move.png")]
		//private static var baiCharMove : Class;
		
		public function EffectDepot(){
			
		}
		
		public static function getBitmapByName(bitname:String):Bitmap{
			var bitdata:BitmapData = PlatformDepot.getInstance().getBitmapDataByName(bitname);
			var bitmap:Bitmap = new Bitmap(bitdata);
			return bitmap;
		}
		
		public static function getStormEffect() : MovieClip {
			var mc:MovieClip = PlatformDepot.getInstance().getMovieClipByName("StormEffect");
			return mc;
		}
		
		public static function getFirstEffect() : MovieClip {
			var mc:MovieClip = PlatformDepot.getInstance().getMovieClipByName("StormBufferEffect");
			return mc;
		}
		
		public static function getBuffEffect():MovieClip{
			var mc:MovieClip = PlatformDepot.getInstance().getMovieClipByName("ShieldEffect");
			return mc;
		}
		
		public static function getWeaponEffect():MovieClip{
			var mc:MovieClip = PlatformDepot.getInstance().getMovieClipByName("HackEffect");
			return mc;
		}
		
		public static function getFireBallEffect():MovieClip{
			var mc:MovieClip = PlatformDepot.getInstance().getMovieClipByName("FireBallEffect");
			return mc;
		}
		
		public static function getLevelUpEffect() : MovieClip {
			var mc:MovieClip = PlatformDepot.getInstance().getMovieClipByName("UplevelEffect");
			return mc;
		}
		
	}
}